#include<stdio.h>

const int MAX = 3;

int main(void) {
    int nums[] = {10, 20, 30};
    int i, *ptr;
    ptr = nums;
    for (int i = 0; i < MAX; i++) {
        printf("存储地址：nums[%d] : %p\n", i, ptr);
        printf("存储值：nums[%d] : %d\n", i, *ptr);
        ptr++;
    }
    return 0;
}